package com.dkm.orproject.dkmoa.service;

import com.dkm.orproject.dkmoa.domain.OaNewsType;
import java.util.List;
import java.util.Map;

/**
 * @ClassName : OaNewsTypeService  //类名
 * @Description :   新闻类型服务接口//描述
 * @Author : zy  //作者
 * @Date: 2020-08-04 10:35  //时间
 */
public interface OaNewsTypeService {

    List<OaNewsType> selectAll(OaNewsType oaNewsType,String startTime,String endTime,Integer page, Integer limit);

    Long rowCount(OaNewsType oaNews,String startTime,String endTime);

    int insertSelective(OaNewsType record);

    int updateByPrimaryKeySelective(OaNewsType record);

    OaNewsType selectByPrimaryKey(Long pkNewsTypeId);

    int deleteAll(List<Long> list);


    List<OaNewsType> selectValid();

    List<Map<String,Object>> selectTypeAndNews();
}